Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow disabling spaced out sections in self paced courses #678

Open
wants to merge 1 commit into
base: opencraft-release/palm.1
Choose a base branch
from

Conversation

Cup0fCoffee
Copy link
Member

@Cup0fCoffee Cup0fCoffee commented Sep 2, 2024

backport of openedx#35411

In self paced courses, if relative due dates are enabled via SelfPacedRelativeDatesConfig, all graded content would be assigned relative due dates which are evenly spaced out over an estimated duration of a course (aka. Personal Learner Schedule or PLS). If CUSTOM_RELATIVE_DATES are enabled, custom set relative due dates would (sometimes) override the "spaced out" ones.

However, there are some usecases, when custom relative due dates are desired, without the PLS. For this usecase we are adding a DISABLE_SPACED_OUT_SECTIONS CourseWaffleFlag. None of the existing behaviour is changed unwillingly. When the flag is enabled, the relative due dates will only be applied to the subsections that have custom relative due dates set, or when a similar setting is set in Advanced Settings of a course.

@Cup0fCoffee Cup0fCoffee force-pushed the maxim/bb-8968-disable-spaced-out-sections-palm-backport branch from 45000e8 to 3c5b534 Compare September 2, 2024 22:16
@Cup0fCoffee Cup0fCoffee force-pushed the maxim/bb-8968-disable-spaced-out-sections-palm-backport branch 2 times, most recently from e82d102 to 7905b01 Compare September 16, 2024 08:18
In self paced courses, if relative due dates are enabled via
SelfPacedRelativeDatesConfig, all graded content would be assigned
relative due dates which are evenly spaced out over an estimated
duration of a course (aka. Personal Learner Schedule or PLS). If
CUSTOM_RELATIVE_DATES are enabled, custom set relative due dates would
(sometimes) override the "spaced out" ones.

However, there are some usecases, when custom relative due dates are
desired, without the PLS. For this usecase we are adding a
DISABLE_SPACED_OUT_SECTIONS CourseWaffleFlag. None of the existing
behaviour is changed unwillingly. When the flag is enabled, the relative
due dates will only be applied to the subsections that have custom
relative due dates set, or when a similar setting is set in Advanced
Settings of a course.
@Agrendalath Agrendalath force-pushed the maxim/bb-8968-disable-spaced-out-sections-palm-backport branch from 7905b01 to 5b9661f Compare September 16, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant